<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>
<style lang="scss">
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-index1 {
  position: relative;
  z-index: 1
}

.x-shadow {
  position: relative;
  color: white;
  padding: 1vh 1vw;
}

// .x-shadow::before {
//   content: '';
//   position: absolute;
//   top: 0;
//   left: 0;
//   width: 100%;
//   height: 100%;
//   background-image: url(@/assets/images/div_bg.png);
//   background-repeat: no-repeat;
//   background-size: 100% 100%;
//   // opacity: 0.5;
// }
</style>